/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package topico1;

import java.util.Scanner;

/**
 *
 * @author leovirgilio
 */
public class MC20 {

    public static void main(String args[]) {
        Scanner intput = new Scanner(System.in);

        System.out.print("Digite um numero: ");
        int numero = Integer.parseInt(intput.next());
        int j = 0;
        for (int i = 0; i < numero; i++) {
            System.out.println("*");

            for (j = 0; j <= i; j++) {
                System.out.print("*");
                // for (int k = 0; k < j; k++) {
                //   System.out.print("*");
                //}
            }

        }


    }
}
